package com.excel.mapper;

import com.excel.service.gernerate.ExportExcelOrder;
import com.excel.service.gernerate.OrderScrenAdvertisementCollection;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdvertisementExcelForCollectionMapper {
	
	public List<OrderScrenAdvertisementCollection> queryForAdCollection(@Param("orderId") String orderId, @Param("year") String year, @Param("isHistory") Boolean isHistory);

	public ExportExcelOrder queryOrderByOrderId(@Param("orderId") String orderId);

	public ExportExcelOrder queryOrderByOrderIdHistory(@Param("orderId") String orderId, @Param("year") String year);

	public Float queryDiscount(@Param("orderId") String orderId);

	public Double queryOrderActualPrice(@Param("orderId") String orderId);

	public Double queryAdServicePrice(@Param("orderId") String orderId, @Param("year") String year, @Param("isHistory") Boolean isHistory);

}
